home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / dmalloc.zip / INSTALL.LIB / README < prev   
Text File  |  1992-11-01  |  19KB  |  469 lines

  1.    WELCOME to DMalloc (tm) version 1.0!
  2.  
  3.    DMalloc consists of at least:
  4.  
  5.          README             | ** Thank you for reading this file **
  6.          PACKING.LST        | A list of all files in the package
  7.          DMALLOC.LIB        | The actual DMalloc software
  8.          DMLNONE.LIB        | These files will be installed to the
  9.          DMALLOC.OBJ        |   directory as specified in the
  10.          DMALLOC7.OBJ       |   installation program
  11.          DMALLOC.H          |
  12.          DMALLOC.BC         |
  13.          DMSERIAL.EXE       | unregistered shareware version only
  14.                             |    to serialize the library after registration
  15.          DMCONFIG.EXE       | registered version only
  16.                             |    to configure the library to your needs
  17.  
  18.          DOC\WARRANTY.DOC   | Important warranty information
  19.          DOC\REGISTER.DOC   | Instructions how to register
  20.          DOC\REGISTER.FRM   | Form letter to register DMalloc
  21.          DOC\VENDOR.DOC     | Important informations for shareware vendors
  22.          DOC\SYSOP.DOC      | Important information for BBS sysops
  23.          DOC\DESCRIBE.DOC   | A complete description of DMalloc
  24.          DOC\HISTORY.DOC    | DMalloc update history
  25.          DOC\LASTINFO.DOC   | Last minute information
  26.          DOC\DMALLOC.DOC    | This documentation in ASCII format
  27.          DOC\SH-WARE.DOC    | Information on shareware, and computer viruses
  28.          DOC\ASP.DOC        | Information about the ASP, its policy,
  29.                             |    and the ASP Ombudsman
  30.          DOC\OMBUDSMN.DOC   | The ASP Ombudsman statement
  31.          DOC\PRESINFO.DOC   | Press information
  32.          DOC\VIRUS.DOC      | registered version only
  33.                             |    "Computer Virus Myths"
  34.                             |    by Rob Rosenberger, Ross M. Greenberg
  35.  
  36.          SAMPLE\DEMO.BAT    | Batch and text file to start the demo
  37.          SAMPLE\DEMO.TXT    |
  38.          SAMPLE\DMLDEMO.EXE | Disk version only (no BBS)
  39.                             |    Ready to run demo program
  40.  
  41.          SAMPLE\MODULE1.C   | The demo program source files
  42.          SAMPLE\MODULE2.C   |
  43.          SAMPLE\MODULE3.C   |
  44.          SAMPLE\DMLDEMO.TXT |
  45.          SAMPLE\DEMO.H      |
  46.          SAMPLE\MAKEFILE    | Make file for MSC 5.1 and 6+
  47.          SAMPLE\DMLDEMO.MAK | MSC 7 PWB project file
  48.          SAMPLE\DMLDEMO.STS | MSC 7 PWB session settings
  49.          SAMPLE\README      | Instructions how to build the demo program
  50.  
  51.    The current file (README) contains the following information sections:
  52.  
  53.          Introduction
  54.  
  55.          Summary of Features
  56.  
  57.          Documentation
  58.  
  59.          A Quick Start
  60.  
  61.          Registration
  62.  
  63.          Support and Thanks
  64.  
  65.  
  66.  
  67.    All of the following text is excerpted from the main documentation.
  68.    All listed cross-references refer to sections in the main documentation
  69.    file, DMALLOC.DOC.
  70.  
  71.       Introduction
  72.  
  73.           What is DMalloc?
  74.               DMalloc is a full-featured, convenient, windowed pop-up
  75.               dynamic memory debugger for C language applications. It
  76.               monitors  heap  integrity and  the  dynamic  memory re-
  77.               quirements of an application. From a technical point of
  78.               view DMalloc is  a library that is linked with the pro-
  79.               gram's object files.
  80.  
  81.           Requirements
  82.               DMalloc  is currently available for Microsoft(r) C com-
  83.               pilers (v.5.1, 6+,  and 7). Different compiler versions
  84.               may be supported with future upgrades.
  85.               DMalloc can only be used  with the "large" memory model
  86.               (far code, far data). (1)
  87.               DOS version should be 3.30 or above (2).
  88.               DMalloc will add  about 41kB to code and data size, and
  89.               - depending on the setup - 2 to 141 kB of dynamic (far)
  90.               memory.
  91.  
  92.           Why DMalloc Instead of a BRAND X Heap Checker
  93.               DMalloc checks the integrity  of dynamic memory. Unlike
  94.               other packages, it monitors the allocated memory  units
  95.               themselves, instead  of tracking out-of-bounds  segment
  96.               accesses.  Thus it is  an ideal  companion to 386-based
  97.               bound  checking  utilities such  as Bounds-Checker(tm).
  98.               For more information  on segments and allocation  units
  99.               refer to section 4, page 17.
  100.  
  101.               You  don't need  to recompile  a single  source module.
  102.               DMalloc  tracks all calls  to memory allocation/deallo-
  103.               cation, even in third-party code and libraries.
  104.  
  105.               Null pointer assignments are detected much earlier than
  106.               by  the runtime library (which  detects them at the end
  107.               of the program). And, as a special feature for the lar-
  108.               ge memory model, even assignments to  far null pointers
  109.               (the  interrupt table)  are detected  and  repaired (if
  110.               possible) to keep the interrupt table intact.
  111.  
  112.               DMalloc  can  cooperate with  other  debuggers. Special
  113.               support  has been built  in for  CodeView(r) and Soft--
  114.               ICE(tm) debuggers.
  115.  
  116.               DMalloc can be used as a background watchdog as well as
  117.               to interactively review the requirements and fragmenta-
  118.               tion status of the dynamic heap.
  119.  
  120.  
  121.         ____________________
  122.              1  Future versions may support different memory models.
  123.              2  DMalloc  was tested with  DOS versions 3.30,  4.01, and
  124.                 5.00. However, nothing  special is needed from  DOS, so
  125.                 other versions should do as well.
  126.  
  127.  
  128.  
  129.  
  130.               DMalloc supports an alternate  monitor to allow  debug-
  131.               ging of graphical applications.
  132.  
  133.               DMalloc  can remember  corrupted allocation  units from
  134.               one session to  the next, allowing  you to monitor  su-
  135.               spect units from the moment of their allocation.
  136.  
  137.               DMalloc  provides a  rich API  to allow  fine-tuning of
  138.               debugging setups from within the source code.
  139.  
  140.               DMalloc is shareware, allowing you to fully evaluate it
  141.               for  30 days. If you  don't like it, you  don't pay for
  142.               it. However, DMalloc is a very  professional debug uti-
  143.               lity, and not playware.
  144.  
  145.           Summary of Features
  146.               o   Tracking of allocation  and deallocation of dynamic
  147.                   memory
  148.               o   Integrity check on every allocated unit
  149.               o   Integrity check  on the  data segment  null  region
  150.                   (null pointer assignment error)
  151.               o   Integrity check and repair  on the far-null  region
  152.                   (the interrupt table)
  153.               o   Automatic pop-up when a heap problem is encountered
  154.               o   Interactive pop-up by pressing 
  155.               o   Automatic  pop-up when  allocating memory  that has
  156.                   been corrupted  in the last debug  session, or that
  157.                   has been selected to be saved
  158.               o   Pop-up when freeing/reallocating/expanding selected
  159.                   units (Watchpoint feature)
  160.               o   Graceful  program  termination  when  the  heap  is
  161.                   destroyed and the program would be likely to hang
  162.               o   Sorted display  of data segments  and all allocated
  163.                   units
  164.               o   Assignment of allocation  units to source  file and
  165.                   line (when recompiling)
  166.               o   Optional  selective display selection by specifying
  167.                   source file and line number
  168.               o   Viewing and editing of allocation unit contents
  169.               o   Possibility to set debugger breakpoints
  170.               o   Extensive   setup   options  to   tailor  DMalloc's
  171.                   behaviour to the  current debug context,  and chan-
  172.                   ging setup options at runtime
  173.               o   Alternate  monitor  support  to allow  debugging of
  174.                   graphical applications
  175.               o   User-defined screen colors on both monitors
  176.               o   Automatic save of  setup options, and corrupted and
  177.                   selected  allocation units  on  an  per-application
  178.                   basis
  179.               o   Rich API for program/debugger interaction
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.        Documentation
  194.  
  195.        Registration Form
  196.            REGISTER.FRM  is the registration  form you  may use to
  197.            register DMalloc, or to request additional manuals. You
  198.            may print it by typing:
  199.  
  200.                COPY  REGISTER.FRM  PRN [Enter]
  201.  
  202.            To register, or  to order a printed manual just fill it
  203.            in, and mail  it (together with a check or money order)
  204.            to the address shown on the form. For additional infor-
  205.            mation on registering and the many benefits you'll  re-
  206.            ceive, please refer to section 1.7, page 3.
  207.  
  208.        The Manual
  209.            DMALLOC.DOC is the installation, demo program and refe-
  210.            rence documentation (this text). It contains no special
  211.            formatting  commands, can be  viewed with  any DOS text
  212.            file viewer  or editor, and  it should be  printable on
  213.            most any printer.
  214.  
  215.            To print, type at the DOS command line:
  216.  
  217.                COPY  DMALLOC.DOC  PRN [Enter]
  218.  
  219.            You should  have at  least 56 pages (4)  of paper ready
  220.            when printing the manual. The documentation file inclu-
  221.            des "box drawings", these use certain  characters which
  222.            may not be available  on some printers.  Generally such
  223.            printers replace these special characters with italici-
  224.            sed letters.  If you are able to, choose the "IBM mode"
  225.            on such a printer.
  226.  
  227.            However, don't  let the thickness of  the documentation
  228.            scare you. DMalloc is extremely easy to use. This manu-
  229.            al will do its best to teach you how to  use DMalloc to
  230.            debug your program.
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.      ____________________
  249.  
  250.           4  The  size of  the ASCII file  differs from  the printed
  251.              documentation due to different fonts and formatting
  252.  
  253.  
  254.  
  255.        A Quick Start
  256.            To quickly  get an existing program  running with DMal-
  257.            loc,  relink   the  application    together   with  the
  258.            DMALLOC.OBJ (5)  object file.  The DMALLOC.LIB  library
  259.            must be  either in the  current directory  or in one of
  260.            the directories specified in the LIB environment varia-
  261.            ble. After linking, start the program as usual. DMalloc
  262.            will  pop up  before  the main()  function is called to
  263.            allow you to modify the setup options.
  264.  
  265.            Note:   if an  application is  not compiled  using  the
  266.                    large  memory  model (compiler  directive -AL),
  267.                    the linker will issue an error message and  the
  268.                    program  will not  work. You  must  compile the
  269.                    application using the large memory model (6).
  270.  
  271.  
  272.       Registration
  273.  
  274.           DMalloc is copyrighted Shareware, it is  NOT PUBLIC DO-
  275.           MAIN, it is NOT FREE.  If you find DMalloc of value and
  276.           continue to use it after a thirty day evaluation period
  277.           PLEASE register your copy of DMalloc.
  278.  
  279.           When you register you receive:
  280.           o   a  serial number and license for one copy of DMal-
  281.               loc
  282.           o   a diskette with a registered copy of DMalloc
  283.           o   six months free support
  284.           o   any technical  updates of DMalloc v  1.0 available
  285.               at that time
  286.           o   a printed and bound manual
  287.           o   a  configuration utility  to  modify  the  DMalloc
  288.               library to  your setup requirements (see  appendix
  289.               B, page 45)
  290.           o   free interim updates when available
  291.           o   version 2.0 at a greatly reduced fee
  292.           o   reduced registration  fee (by  10.00  US$) of  the
  293.               Z/Install Installation program
  294.               (Z/Install has been used for DMalloc installation)
  295.           o   a greater voice in suggesting future enhancements
  296.               the satisfaction of supporting the  shareware con-
  297.               cept
  298.  
  299.           If  you have  not previously  registered, and  after an
  300.           evaluation of DMalloc you  wish to register, or  if you
  301.           would just like  a registered copy to be shipped out to
  302.           you, the cost is:
  303.  
  304.                    41.00 US$
  305.                 s/h 6.00 US$
  306.                  =============
  307.                    47.00 US$
  308.  
  309.      ____________________
  310.  
  311.           5  See section  6.1.1, page 33, for using different compi-
  312.              ler versions.  For now, use DMALLOC.OBJ for MSC 5.1 and
  313.              MSC 6+, and DMALLOC7.OBJ for MSC 7.
  314.           6  Future versions may support different memory models.
  315.  
  316.  
  317.  
  318.           To have an additional manual to be shipped, the cost is
  319.  
  320.                    11.00 US$
  321.                 s/h 6.00 US$
  322.                  =============
  323.                    17.00 US$
  324.  
  325.           To register,  or to order  additional printed  manuals,
  326.           fill out the registration  form (REGISTER.FRM, see sec-
  327.           tion  2.4.1, page 8), add a  check, made payable to Er-
  328.           nest Vogelsinger, or  money order  (if not  registering
  329.           with credit card),  and send them in using one of three
  330.           options:
  331.  
  332.           1)  By regular mail to:
  333.                   Ernest Vogelsinger
  334.                   Hietzinger Hauptstrasse 40 c
  335.                   A-1130 Vienna, Austria
  336.  
  337.           2)  By telephone or  fax: if this is by VISA or MASTER-
  338.               CARD credit card, call
  339.  
  340.                   Tel:   (+43) 1 876 46 090
  341.                          ORDERS ONLY!
  342.                          SUPPORT IS NOT AVAILABLE AT THAT NUMBER.
  343.  
  344.                   Fax:   (+43) 1 876 46 094
  345.  
  346.           3)  By electronic mail: if  this is by VISA or  MASTER-
  347.               CARD credit  card, you can  forward the information
  348.               directly to me by:
  349.  
  350.                   Compuserve Mail at 100015,551
  351.                   Internet           100015.551@compuserve.com
  352.                   MHS                MAIL@CSERVE {100015,551}
  353.  
  354.               Check appendix D, page 47, for detailed information
  355.               on  how to send email  to Compuserve, and on how to
  356.               obtain a Compuserve account.
  357.  
  358.           If  registering with credit  card your  account will be
  359.           charged  in Austrian funds (Austrian Schillings = ATS).
  360.           You will receive a  confirmation by electronic mail  or
  361.           fax (if available) when your order is processed.
  362.  
  363.           Currency exchange will  vary, but at  the time of  this
  364.           version's release 47.00 US$ was approximately:
  365.  
  366.               47.00 US$ (41+6s/h)    ATS 479.40
  367.  
  368.           The registration fee licenses  one copy of DMalloc  for
  369.           use on any one computer at any one time.  You must tre-
  370.           at this software just like a book.  An  example is that
  371.           this  software may be used by  any number of people and
  372.           may be freely moved from one computer location to anot-
  373.           her, as  long as there  is no  possibility of it  being
  374.           used at one location  while it's being used at another.
  375.           Consider it like a book, a  book cannot be read by  two
  376.           different people at the same time.
  377.  
  378.  
  379.  
  380.  
  381.  
  382.           For commercial users of  DMalloc, site-license or  mul-
  383.           tiple license discount arrangements may be made by con-
  384.           tacting the author at the above address.
  385.  
  386.           If there is an  unavoidable delay in registering,  note
  387.           that DMalloc will continue to work  unchanged after the
  388.           evaluation period. Under  no circumstances will DMalloc
  389.           do  any mischief to  those who  dishonestly continue to
  390.           use DMalloc without registering.
  391.  
  392.       Registering Your Evaluation Copy
  393.           DMalloc will be registered personally to you, i.e. your
  394.           serial number and your name will be shown at the top of
  395.           the screen  (the Information  Window, see section  5.3,
  396.           page 22). When you send  in your registration, you will
  397.           be  provided a  registration number.  You can  use this
  398.           registration number  together  with  the  serialization
  399.           utility  to immediately  register your  DMalloc library
  400.           and get rid of the shareware reminder screens (DMSerial
  401.           program,  see appendix  A, page  44, for  more informa-
  402.           tion).
  403.  
  404.       Support & Thanks
  405.           Questions, comments, suggestions,  and even thanks  are
  406.           all welcome. I am supporting this  software via regular
  407.           mail  or fax, or  alternatively (this  is preferred) on
  408.           CompuServe, either  via  electronic  mail,  or  on  the
  409.           MSLANG forum, Microsoft C (3) section.
  410.  
  411.           Via CompuServe:
  412.               Address  messages to  my UserID  100015,551 through
  413.               CompuServe MAIL  (GO  MAIL at  any  CompuServe  "!"
  414.               prompt),  or  leave  a   message  for  me  in   the
  415.               CIS:MSLANG  forum,  Microsoft  C  (3)  section  (GO
  416.               MSLANG at any CompuServe "!" prompt).
  417.  
  418.           Via our Canadian support BBS:
  419.               SpeedSoft  BBS, Home of Z/Install, The Fine Instal-
  420.               lation Utility
  421.               Modem settings:    8 Data, 1 Stop, No Parity
  422.               Modem speed:       up  to  14.400  baud,  v.32.bis,
  423.                                  v.42.bis
  424.               Call:              (604) 477-5337
  425.  
  426.           Via regular mail:
  427.               Forward all support questions to
  428.  
  429.               Ernest Vogelsinger
  430.               Hietzinger Hauptstrasse 40 c
  431.               A-1130 Vienna, Austria
  432.  
  433.           Via fax:
  434.               To send your questions, suggestions, etc, call
  435.  
  436.               (+43) 1 876 46 094
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.           For registered  users,  support  is free  for  6  (six)
  446.           months from date of registration.  Email and CompuServe
  447.           forum support continues to be free, whereas support via
  448.           fax or regular mail will be charged US$ 10.-- per case.
  449.           If the support  in question is of interest to all regi-
  450.           stered users, it will be held free, too.
  451.  
  452.           Improved or new versions will be announced on CompuSer-
  453.           ve on the MSLANG forum, Microsoft  C (3) section. Regi-
  454.           stered users will be automatically notified either  via
  455.           electronic mail, fax, or regular mail.
  456.  
  457.           My sincere thanks go out to all of those who  have hel-
  458.           ped me  to improve DMalloc  by offering  up their  wish
  459.           lists, suggestions and criticisms.
  460.  
  461.           Also  a  very  special  thanks  to all  the  brave  and
  462.           tireless BETA/GAMMA testers.
  463.  
  464.           Enjoy!
  465.  
  466.           Ernest Vogelsinger
  467.  
  468.  
  469.